interface listState {
  type: string
  value: string[]
}
const list: listState[] = [
  {
    type: 'TextInput',
    value: [
      'prefix',
      'suffix',
      'count',
      'password-visible-icon',
      'password-invisible-icon',
      'clear-icon'
    ]
  }
]

export function getValue(key: string): string[] {
  const info = list.find((el: listState) => el.type === key)
  return info ? info.value : []
}
